package com.sphd.education.info;

import org.litepal.crud.DataSupport;

import java.io.Serializable;

/**
 *   id                   int not null,
 creator              int comment '创建人id',
 create_name          national varchar(100) comment '创建人',
 create_date          datetime comment '创建时间',
 updator              int comment '修改人id',
 update_name          national varchar(100) comment '修改人',
 update_date          datetime comment '修改时间',
 approve_Item         int comment '申批项目',
 approve_status       char(1) comment '审批状态：0-未申请 ，1-申请提交，2-通过审核，3-否决审核',
 approve_level        int comment '审批次级',
 auditor              int comment '审批者ID',
 auditor_name         varchar(100) comment '审批者',
 audit_date           datetime comment '审批日期',
 operation            char(1) comment '操作：1-增，2—删，3-—改',
 apply_memo           varchar(255) comment '申请备注',
 approve_memo         varchar(255) comment '审批备注',
 message_id           int comment '对应消息表的id',
 email                national varchar(50) comment '电邮',
 qq                   varchar(50) comment 'QQ号码',
 mobile               national varchar(30) comment '手机',
 office_phone         national varchar(20) comment '工作电话',
 id_card              char(18) comment '身份证号',
 staffid              varchar(20) comment '工号',
 username             varchar(100) comment '注册名',
 realname             varchar(100) comment '真实姓名',
 password             varchar(100) comment '密码',
 status               char(1) comment '状态：1-禁用',
 signature            longtext comment '签名',
 signature_file       national varchar(100) comment '签名文件',
 gender               char(1) comment '性别',
 degree               char(1) comment '1-小学以下，2-小学，3-初中，4-高中，5-中专，6-大专
 7-本科，8-硕士，9-博士

 ',
 residence            varchar(255) comment '户籍',
 marital_status       char(1) comment '1-未婚，2-已婚，3-离异',
 address              varchar(255) comment '身份证地址',
 home_address         varchar(255) comment '家庭住址',
 actual_address       varchar(255) comment '实际住址',
 state                char(1) comment '1-在职，2-离职',
 org                  int comment '公司',
 department           int comment '部门',
 header               int comment '领导',
 transfer_time        datetime comment '转岗时间',
 transfer_reason      varchar(255) comment '转岗说明',
 * Created by Administrator on 2015/10/15.
 {
 "applyMemo": "",
 "approveItem": 0,
 "approveLevel": 0,
 "approveMemo": "",
 "approveStatus": "",
 "auditDate": null,
 "auditor": 0,
 "auditorName": "",
 "avatar": "",
 "birthday": "",
 "certificateStatus": "",
 "channelID": "3895316314044161554",
 "createDate": null,
 "createName": "",
 "creator": 0,
 "description": "",
 "email": "",
 "gender": "",
 "id": 21,
 "idNo": "",
 "messageId": 0,
 "mobile": "13703642242",
 "name": "",
 "operation": "",
 "qq": "",
 "realName": "",
 "status": "",
 "updateDate": null,
 "updateName": "",
 "updator": 0
 }
 */
public class MyInfo extends DataSupport implements Serializable{
    private int id;
    private String username;//用户名
    private String userpassword;//密码
    private boolean rememberpassword;//记住密码
    private int userid;//用户id
    private String name;//用户叫啥
    private String birthday;//出生日期
    private int logon_status;//0未登录1登陆
    private String age;
    private String description;//个性签名
    private String gender;//性别
    private String userimgurl;//图片地址
    private String likes;//兴趣课程等的数据id用来查找数据库


    public String getLikes() {
        return likes;
    }

    public void setLikes(String likes) {
        this.likes = likes;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getLogon_status() {
        return logon_status;
    }

    public void setLogon_status(int logon_status) {
        this.logon_status = logon_status;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public boolean isRememberpassword() {
        return rememberpassword;
    }

    public void setRememberpassword(boolean rememberpassword) {
        this.rememberpassword = rememberpassword;
    }

    public String getUserimgurl() {
        return userimgurl;
    }

    public void setUserimgurl(String userimgurl) {
        this.userimgurl = userimgurl;
    }
}
